package com.vizhuo.client.business.meb.mebacc.reply;

import com.vizhuo.client.base.AbstractReply1;
import com.vizhuo.client.business.meb.mebacc.returncode.MebAccReturnCode;
import com.vizhuo.client.business.meb.mebacc.vo.MebAccVo;
import com.vizhuo.client.business.meb.mebacc.vo.MebConsignerVo;
import com.vizhuo.client.business.meb.mebacc.vo.MebDriverVo;
import com.vizhuo.client.business.meb.mebacc.vo.MebInfoVo;

/**
 * 返回给客户端结果。
 * 
 * @author luzh
 * @date 创建时间：2015年6月29日 下午4:10:01
 * @version 1.0
 * @parameter
 * @since
 * @return
 */
public class MebAccReply extends AbstractReply1 {

    /**
     * 发货人详细信息实体
     */
    private MebConsignerVo mebConsignerVo;

    /**
     * 司机详细信息实体
     */
    private MebDriverVo mebDriverVo;

    /**
     * 信息部详细信息实体
     */
    private MebInfoVo mebInfoVo;

    /**
     * 登录账号信息实体
     */
    private MebAccVo mebAccVo;

    public MebConsignerVo getMebConsignerVo() {
        return mebConsignerVo;
    }

    public void setMebConsignerVo(MebConsignerVo mebConsignerVo) {
        this.mebConsignerVo = mebConsignerVo;
    }

    public MebDriverVo getMebDriverVo() {
        return mebDriverVo;
    }

    public void setMebDriverVo(MebDriverVo mebDriverVo) {
        this.mebDriverVo = mebDriverVo;
    }

    public MebInfoVo getMebInfoVo() {
        return mebInfoVo;
    }

    public void setMebInfoVo(MebInfoVo mebInfoVo) {
        this.mebInfoVo = mebInfoVo;
    }

    public MebAccVo getMebAccVo() {
        return mebAccVo;
    }

    public void setMebAccVo(MebAccVo mebAccVo) {
        this.mebAccVo = mebAccVo;
    }

    @Override
    public void setReturnCode(String returnCode) {
        super.setReturnCode(returnCode);
        MebAccReturnCode code = new MebAccReturnCode();
        super.setReturnMessage(code.messageMap.get(returnCode));
    }
}
